#include <iostream>
#include <cstdio>
using namespace std;
double t;
int n;
int main()
{
    cin >> t >> n;
    printf("%.3f\n%d", t / n, n * 2);
}